package main

import (
	"fmt"
	"go_study/top/jacktgq/oop/interface/quickstart/infra"
)

func getRetriever() retriever {
	return infra.Retriever{}
}

// something that can "Get"
type retriever interface {
	Get(string) string
}

func main() {
	r := getRetriever()
	fmt.Println(r.Get("https://www.baidu.com"))
}
